.es-discover-container {
  display: flex;
  flex-direction: column;
  height: 100%;
  .ant-spin-nested-loading,.es-discover-content {
    height: 100%;
    max-height: 100%;
    min-height: 0;
  }
}
.es-discover-content {
  display: flex;
  gap: 16px;
}
.es-discover-sidebar {
  display: flex;
  flex-direction: column;
  width: 250px;
}
.es-discover-sidebar-title {
  margin-bottom: 18px;
}
.es-discover-sidebar-content {
  overflow-x: hidden;
  overflow-y: auto;
}
.es-discover-fields-title {
  font-weight: bolder;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.es-discover-main {
  flex-shrink: 0;
  border: 1px solid var(--fc-border-color);
  display: flex;
  flex-direction: column;
  position: relative;
}
.es-discover-chart {
  flex-shrink: 0;
}
.es-discover-chart-title {
  height: 40px;
  display: flex;
  align-items: center;
}
.es-discover-chart-title-total,.es-discover-chart-title-action {
  padding: 0 10px;
  flex-shrink: 0;
}
.es-discover-chart-title-content {
  text-align: center;
  width: 100%;
}
.es-discover-chart-content {
  height: 150px;
  padding: 10px 0;
}
.es-discover-logs-table {
  height: 100%;
  overflow: hidden;
  .ant-table {
    margin-top: 0 !important;
  }
  .ant-spin-nested-loading,.ant-spin-container,.ant-table,.ant-table-container {
    height: 100%;
  }
}
.es-discover-logs-row {
  line-height: 2.2em;
  max-height: 130px; // v6.7.0 将最大高度改成5行的高度
  overflow: hidden;
  margin-bottom: 0;
  word-break: break-word;
  dt,dd {
    display: inline;
  }
  dt {
    background-color: var(--fc-fill-4);
    color: var(--fc-text-1);
    padding: 1px 2px;
    margin-right: 4px;
    word-break: normal;
    border-radius: 4px;
  }
  dd {
    margin-right: 4px;
  }
}
.es-discover-collapse {
  cursor: pointer;
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  top: 50%;
  margin-top: -29px;
  left: -14px;
  height: 58px;
  width: 10px;
  border-radius: 6px;
  background: var(--fc-fill-4);
}
.es-discover-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
  .ant-tag {
    margin-right: 0;
  }
}
.log-view-tabs {
  font-size: 12px;
  .ant-table.ant-table-small {
    margin-left: 0 !important;
  }
  .ant-tabs-nav {
    margin-bottom: 10 !important;
  }
}